/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.List;

import com.itinsys.enma.domain.dto.EnvironmentDTO;

/**
 * @author pferraz
 *
 */
public class EnvironmentResponse extends Response{
	public static final int ENVIRONMENT_NOT_EXISTS=301;
	public static final int ENVIRONMENTS_NOT_EXISTS=302;
	public static final int WRONG_DATA = 303;
	public static final int ENVIRONMENT_HAVE_NOT_PRIORITY = 304;
	public static final int ENVIRONMENT_HAVE_RESERVATION = 305;
	public static final int ENVIRONMENT_EXISTS = 306;
	public static final int ENVIRONMENT_EXISTS_NOT_ACTIVE = 307;
	private List<EnvironmentDTO> environmentDTOs;
		
	public EnvironmentResponse() {
		init();
		getMessagesCode().put(ENVIRONMENT_NOT_EXISTS, "ENVIRONMENT_NOT_EXISTS");
		getMessagesCode().put(ENVIRONMENTS_NOT_EXISTS, "ENVIRONMENTS_NOT_EXISTS");
		getMessagesCode().put(ENVIRONMENT_HAVE_NOT_PRIORITY, "ENVIRONMENT_HAVE_NOT_PRIORITY");
		getMessagesCode().put(ENVIRONMENT_HAVE_RESERVATION, "ENVIRONMENT_HAVE_RESERVATION");
		getMessagesCode().put(ENVIRONMENT_EXISTS, "ENVIRONMENT_EXISTS");
		getMessagesCode().put(ENVIRONMENT_EXISTS_NOT_ACTIVE, "ENVIRONMENT_EXISTS_NOT_ACTIVE");
		
		getMessagesCode().put(WRONG_DATA, "WRONG_DATA");
	}

	public List<EnvironmentDTO> getEnvironmentDTOs() {
		return environmentDTOs;
	}

	public void setEnvironmentDTOs(List<EnvironmentDTO> environmentDTOs) {
		this.environmentDTOs = environmentDTOs;
	}	
	
	
	
}
